package com.hang.gymmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 票务表
 * @author wyq
 * @version v1.0.0
 * @explain
 * @date 2024/3/15 13:18
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("ticket")
public class TicketEntity {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 活动id
     */
    private Integer activityId;

    /**
     * 票务型号
     */
    private Integer typeNum;

    /**
     * 票务名称
     */
    private String typeName;

    /**
     * 价格
     */
    private BigDecimal typePrice;

    /**
     * 库存
     */
    private Integer typeInventory;


}
